package com.itheima.youdianda.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * @Author
 */
@Data
@ApiModel("标签")
public class YddTag implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("编号")
    private Integer id;
    @ApiModelProperty("标签名")
    private String  tagname;

    //是否为默认数据null为不是，1表示是
    @ApiModelProperty("是否为默认数据")
    private Integer defaultData;
}
